package com.flyxiaozhu.erp.core.libs;


import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root;
import java.util.List;

public interface SearchSpecFilter<T> {
    Predicate process(List<Predicate> predicates, String field, String operator, String value, Root<T> root, CriteriaQuery<?> query, CriteriaBuilder cb);
}
